﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EventScavenger
{
	public class Collector
	{
		public Collector()
		{
			Id = 0;
			Name = "";
			ImportsEnabled = false;
			ImportFrequency = 15;
			MainThreadUpdateFrequencySec = 60;
			UseBatchInserts = true;
			InsertBatchSize = 1000;
			SqlCommandTimeOutSec = 60;
			LogDuplicateWarnings = false;
            ServiceName = "Event Reaper";
		}
		public int Id { get; set; }
		public string Name { get; set; }
		public bool ImportsEnabled { get; set; }
		public int ImportFrequency { get; set; }
		public int MainThreadUpdateFrequencySec { get; set; }
		public bool UseBatchInserts { get; set; }
		public int InsertBatchSize { get; set; }
		public int SqlCommandTimeOutSec { get; set; }
		public bool LogDuplicateWarnings { get; set; }
        public bool Enabled { get; set; }
        public int ReaperId { get; set; }
        public string ReaperName { get; set; }
        public string ServiceName { get; set; }
        public string ServicePath { get; set; }

		public override string ToString()
		{
			return Name;
		}
	}
}
